package tech.veedo.munchkin.services.frontend;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import tech.veedo.munchkin.beans.basic.User;
import tech.veedo.munchkin.beans.frontend.Form;
import tech.veedo.munchkin.beans.frontend.QueryParams;
import tech.veedo.munchkin.beans.frontend.process.NodePassing;

public interface MainService {

    boolean submit(Long workflowId, String orgCode, Form form, User user);

    Page<NodePassing> page(QueryParams<NodePassing> params, User user);

    boolean yes(NodePassing nodePassing, boolean alwaysAgree, User defaultU);
}
